#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <string>
#include<istream>
using namespace std;
///{
	//string s1 = "hello world";
	//s1.append("12345");
	//s1.clear();
	////cout << s1<<" " << s1.capacity();
	//s1.reserve(100);
	//cout << s1.capacity() << endl;
	//s1.clear();
	//cout << s1.capacity();

	//s1.resize(100,'b');
	//cout << s1.capacity() << "  " << s1.at(4);

	//s1.insert(4, 3, 'b');
	//cout << s1 << endl;
	//s1.assign();
	//s1.replace(5, 1,"20%");
	////cout << s1 << endl;
	//s1.erase(5, 1);
	//cout << s1;
//
//	string url = "https://legacy.cplusplus.com/reference/string/string/";
//	size_t a=url.find("://");
//	string potctlocl;
//	if (a != string::npos)
//	{
//		potctlocl = url.substr(0, a);
//		cout << potctlocl << endl;
//	}
//	size_t pos = url.find('/',a+3);
//	string domain;
//	if (pos != string::npos)
//	{
//		domain = url.substr(a + 3, pos-(a+3));
//		cout << domain << endl;
//	}
//	url = url.substr(pos + 1);
//	cout << url;
//	return 0;
//}


	/*int main()
		{
			string str("Please, replace the vowels in this sentence by asterisks.");
			size_t found = str.find_first_of("abc");
			while (found != string::npos)
			{
				str[found] = '*';
				found = str.find_first_of("abc", found + 1);
			}
		
		cout << str << '\n';
		
			return 0;
		}*/

int main()
{
	string s1 =to_string(1234);
	cout << s1.c_str() << endl;
	return 0;
}
//
//



